//
//  ReasonInfoVC.m
//  BrushFace
//
//  Created by timer_q on 16/1/27.
//  Copyright © 2016年 Zzz. All rights reserved.
//

#import "ReasonInfoVC.h"

@interface ReasonInfoVC ()

@end

@implementation ReasonInfoVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}
- (void)viewWillAppear:(BOOL)animated{
    [super viewWillAppear:animated];
    [self.navBar setHideLeftBtn:YES];
    self.navBar.hidden = YES;
    _reasonLabel.text = _reason;
    _headerImage.layer.cornerRadius = 60;
    _headerImage.clipsToBounds = YES;
    [_headerImage sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",HEADERIMAGE_FETCH,_userid]]];
    
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(backClick)];
    [self.view addGestureRecognizer:tap];
}
-(void)backClick{

    [self.navigationController popViewControllerAnimated:YES];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
